<table border="1">
	<th>Name</th>
	<th>Description</th>
	<th>Brand</th>
	<th>Category</th>
	<th>Price</th>
	<th>IssueDate</th>
	<th>Status</th>
	<th>Action</th>
	<th>Places</th>
	
	<{foreach from=$productList item=phantu}>
		<tr> 
			<td> <{$phantu.pro_name}> </td>
			<td> <{$phantu.pro_description}> </td>
			<td> <{$phantu.br_name}> </td>			
			<td> <{$phantu.cat_name}> </td>		
			<td> <{$phantu.pro_price}> </td>			
			
			<td> <{$phantu.pro_issuedate}> </td>		
			<td> <{$phantu.pro_status}> </td>	
			
			
			<td>				
				<{foreach from=$phantu.pro_placeList item=phantu_con}>
					<{$phantu_con.pla_name}>:<{$phantu_con.pro_pla_quantity}>		
				<{/foreach}>
			</td>	
			
			<td> 
				<a href="<{$smarty.const.APPLICATION_URL}>
					products/editForm/<{$phantu.pro_id}>">					
					edit 
				</a>
				| 
				<{if $phantu.pro_status==1}>
					<a href="<{$smarty.const.APPLICATION_URL}>products/inactive/<{$phantu.pro_id}>">					
						Inactive					
					</a> 
				<{else}>
					<a href="<{$smarty.const.APPLICATION_URL}>products/active/<{$phantu.pro_id}>">					
						Active					
					</a> 
				<{/if}>
			</td>	
		</tr>
	<{/foreach}>
</table>